<!DOCTYPE html>
<html>
<head>
	<title>表空间使用情况</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
	    var path = window.document.location.href;
		var pathName = window.document.location.pathname;
		var hostPath = path.substring(0, path.indexOf(pathName));
		var projectName = pathName.substring(0, pathName.substr(1).indexOf("/") + 1);
		document.write('<scr' + 'ipt src="' + projectName + '/js/html/header.js"></scr'+'ipt>');
    </script>
</head>
<body>
	<table id="dg" style="width: auto; height: auto" fitColumns="true">
		<thead>
			<tr>
				<th field="id" data-options="hidden:true">ID</th>
				<th field="tablespaceName" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">表空间名</th>
				<th field="totGrootteMb" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">表空间大小(M)</th>
				<th field="useGrootteMb" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">已使用空间(M)</th>
				<th field="usePercentage" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">使用比</th>
				<th field="totalBytes" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">空闲空间(M)</th>
				<th field="maxBytes" align="right" width="100" 
					data-options="
					sortable:true,
					remoteSort:false
					">最大块(M)</th>
			</tr>
		</thead>
	</table>
	<div id="dg-buttons" style="height: auto">
		<div>
			<span>交易码:</span>
			<input type="text" id="tablespaceName" name="tablespaceName" class="easyui-validatebox" />
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="dgop.find()">查询</a>
		</div>
	</div>
	<script>
		var initd = {
			queryDataURL : "/monitor/tablespace/query",
			dg : $('#dg')
		};
	</script>
</body>
</html>

